package com.spring.cloud.microserviceproviderdept8003.dao;

import com.spring.api.entities.Dept;
import org.apache.ibatis.annotations.Mapper;

import java.util.List;

@Mapper
public interface DeptDao {

    Dept findById(Long id);

    Boolean add(Dept dept);

    List<Dept> findAll();
}
